﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using DiagramCreator.Nodes;
using System.Windows.Input;
using DiagramCreator.Arrows;
using System.Windows.Media;
using System.Windows;
using System.Windows.Shapes;
using System.Windows.Media.Animation;

namespace DiagramCreator.Diagram
{
    public partial class DiagramSheet : Canvas, IDisposable
    { 
        #region - Actions -

        #region - Align / Center -

        public void AlignSelectedNodesToLeft()
        {
            AlignLeft(selectedNodes);
        }

        public void AlignSelectedNodesToRight()
        {
            AlignRight(selectedNodes);
        }

        public void AlignSelectedNodesToTop()
        {
            AlignTop(selectedNodes);
        }

        public void AlignSelectedNodesToBottom()
        {
            AlignBottom(selectedNodes);
        }

        public void CenterSelectedNodesVertically()
        {
            AlignCenterVertiacally(selectedNodes);
        }

        public void CenterSelectedNodesHorizontally()
        {
            AlignCenterHorizontally(selectedNodes);
        }
        #endregion

        #region - Distribute -

        public void DistributeVertically()
        {
            DistributeVertically(selectedNodes);
        }

        public void DistributeHorizontally()
        {
            DistributeHorizontally(selectedNodes);
        }

        #endregion

        #region - Connnect / Disconnect Nodes -

        public void ConnectToNode()
        {

        }

        public void DisconnectFromNode()
        {

        }

        #endregion

        #region - Removal -

        public void RemoveSelectedNodes()
        {

        }

        #endregion

        #region - Shift -

        public void IncreaseSpace()
        {

        }

        public void DecreaseSpace()
        {

        }

        #endregion

        #endregion
    }
}